package com.xcc.httpUtils.builder;

import com.xcc.httpUtils.request.RequestCall;
import com.xcc.httpUtils.request.WebSocketRequest;

/**
 * Created by Carman
 * <p>
 * Date: 2018/4/17 - 15:43
 * <p>
 * 描述:
 * WebSocket
 */
public class WebSocketBuilder extends BaseHttpRequestBuilder<WebSocketBuilder> {

    public WebSocketBuilder(String url) {
        super(url);
    }

    @Override
    public RequestCall build() {
        return new WebSocketRequest(url, tag, null, headers, json).build();
    }
}
